package com.ych.dao;

import com.ych.beans.SensorModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SensorModelDao {
    boolean addSensorModel(SensorModel sensor);

    boolean updateSensorModel(SensorModel sensor);

    boolean deleteSensorModel(Integer id);

    List<SensorModel> selectSensorModel(String key);
}
